import {get, post, del, put} from "@/apis/http/request";
import {RetailAdminShop} from "@/apis/model/shop/RetailAdminShopModel";

/**
* 得到列表
* @param params
*/
export const getRetailAdminShopList = (params: any) => get("/retailAdminShop/list", params)

/**
* 得到分页列表
* @param params
*/
export const retailAdminShopPage = (params: any) => post("/retailAdminShop/page", params)

/**
* 删除数据
* @param id
* @returns
*/
export const deleteRetailAdminShopById = (id: number) => del("/retailAdminShop/delete/"+ id)

/**
* 新增数据
* @param param
*/
export const insertRetailAdminShop = (param: RetailAdminShop) => post("/retailAdminShop", param)

/**
* 更新数据
* @param param
*/
export const updateRetailAdminShop = (param: RetailAdminShop) => put("/retailAdminShop", param)


/**
 * 审核信息
 */
export const examineVerify = (param: RetailAdminShop) => post("/retailAdminShop/examineVerify", param)